<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div data-th-fragment="nav">
    <header class="lyear-layout-header">
        <nav class="navbar navbar-default">
            <div class="topbar">
                <div class="topbar-left">
                    <div class="lyear-aside-toggler">
                        <span class="lyear-toggler-bar"></span>
                        <span class="lyear-toggler-bar"></span>
                        <span class="lyear-toggler-bar"></span>
                    </div>
                    <span class="navbar-page-title"> <i class="mdi mdi-replay"></i> </span>
                </div>

                <ul class="topbar-right">
                    <li class="dropdown dropdown-profile">
                        <a href="javascript:void(0)" data-toggle="dropdown">
                            <img class="img-avatar img-avatar-48 m-r-10" th:src="@{/images/users/avatar.jpg}" th:alt="${session.userInfo}" />
                            <span>你好: <span style="color: black" th:text="${session.userInfo}">笔下光年 </span> </span>
                        </a>
                        <ul class="dropdown-menu dropdown-menu-right">
                            <li> <a href="lyear_pages_profile.html"><i class="mdi mdi-account"></i> 个人信息</a> </li>
                            <li> <a href="lyear_pages_edit_pwd.html"><i class="mdi mdi-lock-outline"></i> 修改密码</a> </li>
                            <li> <a href="javascript:void(0)"><i class="mdi mdi-delete"></i> 清空缓存</a></li>
                            <li class="divider"></li>
                            <li> <a th:href="@{/api/logout}"><i class="mdi mdi-logout-variant"></i> 退出登录</a> </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
</div>
</body>
</html>